@extends('Layouts.layout')
@section('title','申请成为渠道经理')
@section('content')
    @include('Layouts.error')
    <div class="login">
        <div class="banner">
            <img src="/business/images/ren.png" alt="">
        </div>
        <div class="content">
            <form action="" name="frm" method="post" class="url" data-url="{{ url($perfix.'/register') }}">
                {{ csrf_field() }}
                <div class="form required shadow">
                    <ul>
                        <li class="user">
                            <i class="i"></i>
                            <input type="text" placeholder="姓名" name="name" value="" oninput="userName_(this)" maxlength="20">
                            <i class="clear_ none"></i>
                        </li>
                        <li class="phone">
                            <i class="i"></i>
                            <input type="number" placeholder="手机号" class="phone" name="phone" value="" oninput="if(value.length>11)value=value.slice(0,11)">
                            <i class="clear_ none"></i>
                        </li>
                        <li class="yzm">
                            <i class="i"></i>
                            <input type="text" placeholder="验证码" name="code" value="" onblur="checkCode(value)" data-check="0">
                            <i class="clear_ none"></i>
                            <a href="javascript:;" class="getVerify" onclick="getCode(this,'register')">获取验证码</a>
                        </li>
                        <li class="pwd">
                            <i class="i"></i>
                            <input type="password" placeholder="密码" name="password" value="" maxlength="20">
                            <i class="clear_ none"></i>
                            <i class="pwd_visible" onclick="pwdVisible(this)"></i>
                        </li>
                        <li class="border_none clearfix company_personage">
                            <p onclick="companyPersonage(this,'company')" >
                                <span><i></i></span>
                                公司
                            </p>
                            <p onclick="companyPersonage(this,'person')" class="on">
                                <span><i></i></span>
                                个人
                            </p>
                            <input type="hidden" name="type" value="person">
                        </li>
                    </ul>
                </div>
                <div class="form invitation shadow">
                    <ul>
                        <li class="company_name none">
                            <input type="text" placeholder="公司名称" name="companyName" value="{{ old('companyName') }}">
                            <i class="clear_ none"></i>
                        </li>
                        <li class="invite">
                            <input type="text" placeholder="邀请码" name="inviteCode" value="{{ old('inviteCode') }}" onblur="checkInviteCode(value)" data-check="0">
                            <i class="clear_ none"></i>
                        </li>
                    </ul>
                    {{--<p class="btn_">提交</p>--}}
                    {{--<input type="submit" value="提交" class="btn_" disabled onclick="registerBtn(this)">--}}
                    <p type="submit"  class="btn_"  onclick="checkSubmit(this)">提交</p>
                </div>
            </form>
{{--            <div class="goLogin">已有账号<a href="{{url($perfix.'/login')}}">登录</a></div>--}}
        </div>
    </div>
@endsection